package com.qhong.test.controller;

import com.qhong.spring.annotation.Autowired;
import com.qhong.spring.annotation.stereotype.Controller;
import com.qhong.test.service.UserService;


@Controller
public class UserController {
	private UserService userService;

	public UserController(){}

	@Autowired
	public void setController(UserService userService){
		this.userService=userService;
	}

	public void login(){
		System.out.println("-登录Controller-");
		userService.login();
	}

}
